require('../../assets/css/normalize.css');
require('../../assets/css/reset.css');
// require('../../assets/css/basic')
require('./ad.less');
const dom = require("../../utils/dom.js");

//页面加载事件
document.addEventListener("DOMContentLoaded", function () {
    let num = 5;
    setInterval(function () {
        num--;
        dom.get("#time").textContent = num;
        if (num === 0) {
            location.href = 'login.html'
        }
    },1000)
})
